package com.neuedu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neuedu.model.Comment;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentDao extends BaseMapper<Comment> {
    // 查询商品的所有评价
    List<Comment> selectCommentsByProductId(Integer pid);
}